Skip to content

Instantly share code, notes, and snippets.

@kyo-takano
kyo-takano / making-the-most-of-local-llms.ipynb
Last active May 13, 2024 01:24
ローカルLLMはこーやって使うの💢
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@strengejacke
strengejacke / .lintr
Last active May 13, 2024 01:24
VS Code setup for R
// save to windows-user directory
linters: with_defaults(object_name_linter = NULL,
object_length_linter(50),
commented_code_linter = NULL,
object_usage_linter = NULL,
line_length_linter(120),
cyclocomp_linter = cyclocomp_linter(50))
@edisonlee55
edisonlee55 / pve_xtermjs_for_ubuntu_vm.txt
Last active May 13, 2024 01:22
Proxmox VE xterm.js (Serial Terminal) for Ubuntu VM
1. Add a virtual serial port to the VM using PVE Web GUI and restart the VM
2. Enable and start the virtual serial port on VM, change tty number as needed (Reference: https://askubuntu.com/a/621209/838946)
$ sudo systemctl enable serial-getty@ttyS0.service
$ sudo systemctl start serial-getty@ttyS0.service
3. Done! You can now select xterm.js in the PVE Web GUI
@bbbenji
bbbenji / bambu_lab-lovelace.yaml
Last active May 13, 2024 01:15
Bambu Lab X1C Lovelace Dashboard
type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: custom:mushroom-title-card
title: Bambu Lab X1C
alignment: start
- type: custom:mod-card
card:
type: custom:mushroom-chips-card
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fjudith
fjudith / kubernetes_service_session_affinity.md
Last active May 13, 2024 01:10
Enable Session Affinity (a.k.a Sticky Session) to Kubernetes service
@sdwfrost
sdwfrost / counties.geojson
Created September 23, 2019 17:54
US Counties data in geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@s-naoya
s-naoya / eigen_quat_test.cpp
Last active May 13, 2024 01:07
Eigen Quaternion Test
// g++ -I/usr/local/include/eigen3 -O2 -o eigen_quat_test eigen_quat_test.cpp
#include <iostream>
#include <Eigen/Geometry>
typedef Eigen::Vector2d Vector2;
typedef Eigen::Vector3d Vector3;
typedef Eigen::Matrix3d Matrix3;
typedef Eigen::Quaterniond Quat;
typedef Eigen::AngleAxisd AngleAxisd;
@rvrsh3ll
rvrsh3ll / windows-keys.md
Created February 18, 2024 22:44
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index

@qoomon
qoomon / conventional_commit_messages.md
Last active May 13, 2024 01:01
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs

Commit Message Formats

Default